package tech.aistar.service;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import tech.aistar.entity.Cost;
import tech.aistar.entity.House;

import java.util.List;

public interface ICostService {

    List<Cost> selectAll();
   void insert(Cost cost);
     void  updateByPrimaryKey(Cost cost);
   void deleteByPrimaryKey(Integer id);

    Cost findById(Integer integer);
    Cost findByhouseId(Integer integer);
}
